home *** CD-ROM | disk | FTP | other *** search
/ Programming Sound Cards / Programming Sound Cards.iso / sound_48 / multi2.exe / EXAMPLE4.BAT < prev    next >
DOS Batch File  |  1993-01-11  |  4KB  |  142 lines

  1. echo off
  2. :
  3. : This should give you a template to create your own MULTIMEDIA 1 menu system.
  4. :
  5. : Two handy batch file tips.  
  6. : 1. a colon and a space makes for a time-saving comment.  
  7. : 2. ECHO followed by a "." will echo a blank line. 
  8. : REFER TO MANUAL.EXE FOR MORE INFORMATION.
  9.  
  10.  
  11.  
  12. :menu_again
  13. textmode
  14.  
  15. SHOW-WIN MENU.PCX
  16.  
  17. KEY 123456789Q
  18.  
  19. IF ERRORLEVEL 10 GOTO QUIT
  20. IF ERRORLEVEL 9 GOTO MENU9
  21. IF ERRORLEVEL 8 GOTO HELP
  22. IF ERRORLEVEL 7 GOTO MENU7
  23. IF ERRORLEVEL 6 GOTO MENU6
  24. IF ERRORLEVEL 5 GOTO MENU5
  25. IF ERRORLEVEL 4 GOTO MENU4
  26. IF ERRORLEVEL 3 GOTO MENU3
  27. IF ERRORLEVEL 2 GOTO MENU2
  28. IF ERRORLEVEL 1 GOTO MENU1
  29.  
  30. goto menu_again
  31.  
  32.  
  33. :MENU1
  34. SAY THANKYOU
  35. call example3
  36. goto menu_again
  37.  
  38.  
  39. :MENU2
  40. SAY THANKYOU
  41. call example1
  42. goto menu_again
  43.  
  44.  
  45. :MENU3
  46. SAY THANKYOU
  47. call example2
  48. goto menu_again
  49.  
  50.  
  51. :MENU4
  52. SAY THANKYOU
  53. textmode
  54. steps
  55. clr-text
  56. goto menu_again
  57.  
  58.  
  59. :MENU5
  60. SAY THANKYOU
  61. textmode
  62. editor
  63. goto menu_again
  64.  
  65.  
  66. :MENU6
  67. SAY THANKYOU
  68. CALL IP-MENU
  69. goto menu_again
  70.  
  71.  
  72. :MENU7
  73. SAY THANKYOU
  74. textmode
  75. call play
  76. clr-text
  77. goto menu_again
  78.  
  79.  
  80. :HELP
  81. SAY THANKYOU
  82. textmode
  83. MANUAL
  84. clr-text
  85. goto menu_again
  86.  
  87.  
  88. :MENU9
  89. SAY THANKYOU
  90. textmode
  91. echo.
  92. echo  Please enter the file name of your MULTIMEDIA 1 CREATION.
  93. echo.
  94. echo  Type EXIT to return to the MAIN MENU.
  95. COMMAND
  96. goto menu_again
  97.  
  98.  
  99. :QUIT
  100. SAY BYE
  101. scroll down
  102. register
  103. clr-text
  104. ECHO.
  105. ECHO    ╔══════════════════════════════════════════════════════════════════════════╗
  106. ECHO    ║  This is an unregistered copy of MULTIMEDIA 1, for EVALUATION ONLY.      ║
  107. ECHO    ║  IF YOU CONTINUE TO USE THIS PACKAGE, PLEASE ....  ~~~~~~~~~~~~~~~       ║
  108. ECHO    ║  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             ║
  109. ECHO    ║  Send CHECK or M.O. for $59 to:         ╔════════════════════════╗       ║
  110. ECHO    ║           C.M.S. INC    ~~~             ║     Call toll free     ║       ║
  111. ECHO    ║        3005 Glenmore Ave.               ║     1-800-847-0309     ║       ║
  112. ECHO    ║         Balto. MD 21214                 ║ for CREDIT CARD orders.║       ║
  113. ECHO    ║                                         ╚════════════════════════╝       ║
  114. ECHO    ║                                                                          ║
  115. ECHO    ║  Within 2 weeks, you will receive the registered version of this new     ║
  116. ECHO    ║  innovative package with OVER 1 MEG. OF SPEECH AND MUSIC, THE COMPLETE   ║
  117. ECHO    ║  IMAGE PROCESSOR, SVGA DISPLAY CAPABILITY, A WIDE ASSORTMENT OF ADVANCED ║
  118. ECHO    ║  COMMANDS, TECHNICAL SUPPORT, ON DISK MANUAL and a FREE 2nd. PROGRAM.    ║
  119. ECHO    ║                                                                          ║
  120. ECHO    ║  Your support will allow us to continue to develop MULTIMEDIA software   ║
  121. ECHO    ║  for your applications.  We have worked 93 weeks in the development      ║
  122. ECHO    ║  of MULTIMEDIA 1,  please support our products by sending in your        ║
  123. ECHO    ║  registration fee.  You will receive a top quality package.              ║
  124. ECHO    ║                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~               ║
  125. ECHO    ║ ** $59.00 IS A SMALL PRICE TO PAY FOR A PACKAGE WITH THIS CAPABILITY. ** ║
  126. ECHO    ╚══════════════════════════════════════════════════════════════════════════╝
  127. DELAY
  128. SAY REGISTER
  129. ECHO      Press Shift Print Scrn to print this page  or  Press any key to continue.
  130. KEY
  131. echo.
  132. echo   This package is part of our complete line of speech products for EDUCATIONAL,
  133. echo   BUSINESS, COMEDY, ENTERTAINMENT and PROGRAMMING applications, refer to
  134. echo   DOCUMENT.EXE for more information.   
  135. echo.
  136. delay
  137. echo                      ***  THANK YOU FOR YOUR SUPPORT  ***
  138. echo.
  139. echo   Type MENU to restart MULTIMEDIA 1
  140. echo. 
  141.  
  142.